#ifndef _VIDEO_HPP_
#define _VIDEO_HPP_

#include "include.hpp"
#include "itemdata.hpp"

class video:public figure {

public:

	string icon;
	double video_height;
	double video_width;

	video(string newname, xlider_presentation* master):
	figure(newname,master){
		// FIXME! maybe: moved to generator
		scalex=scaley=1.0;
		icon="";
		type="movie";
	}

	virtual void read_theme(xml_config_reader& xc, param_handler& p, string ty){
		figure::read_theme(xc,p,ty);
		icon=p.string_value("icon");
	}
	
};

#endif
